using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
public class AppDbContext : DbContext
{
    public DbSet<Student> Students { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseNpgsql("Server=519278e4v.vicp.fun;Port=56119;User Id=zhangyongli;Password=supermap@123;Database=yu;");
    }
}
